home *** CD-ROM | disk | FTP | other *** search
- #define CURSES_LIBRARY 1
- #include <curses.h>
- #undef traceoff
-
- #ifdef PDCDEBUG
- char *rcsid_traceoff = "$Header: C:\CURSES\portable\RCS\traceoff.c 2.1 1993/06/18 20:19:32 MH Rel MH $";
- #endif
-
-
-
-
- /*man-start*********************************************************************
-
- traceoff() - stop tracing curses functions
-
- X/Open Description:
- This routine turns off internal tracing of the curses functions.
- Tracing will only occur when the library is compiled with the
- appropriate macro defined. In the case of PDCurses, this macro is
- PDCDEBUG.
- This function is defined as a macro.
-
- X/Open Return Value:
- The traceoff() function returns OK.
-
- X/Open Errors:
- No errors are defined for this function.
-
- Portability:
- PDCurses int traceoff( void );
- X/Open Dec '88 int traceoff( void );
- BSD Curses int traceoff( void );
- SYS V Curses int traceoff( void );
-
- **man-end**********************************************************************/
-
- int traceoff(void)
- {
- #ifdef PDCDEBUG
- if (trace_on) PDC_debug("traceoff() - called\n");
- #endif
-
- trace_on = FALSE;
- return( OK );
- }
-